package com.yrh.bean;


public class TOrderDetails {

  private int orderDetailsId;
  private String productName;
  private int productNum;
  private double productMoney;
  private int orderId;

  public TOrderDetails() {
  }

  public TOrderDetails(int orderDetailsId, String productName, int productNum, double productMoney, int orderId) {
    this.orderDetailsId = orderDetailsId;
    this.productName = productName;
    this.productNum = productNum;
    this.productMoney = productMoney;
    this.orderId = orderId;
  }

  public int getOrderDetailsId() {
    return orderDetailsId;
  }

  public void setOrderDetailsId(int orderDetailsId) {
    this.orderDetailsId = orderDetailsId;
  }

  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }

  public int getProductNum() {
    return productNum;
  }

  public void setProductNum(int productNum) {
    this.productNum = productNum;
  }

  public double getProductMoney() {
    return productMoney;
  }

  public void setProductMoney(double productMoney) {
    this.productMoney = productMoney;
  }

  public int getOrderId() {
    return orderId;
  }

  public void setOrderId(int orderId) {
    this.orderId = orderId;
  }

  @Override
  public String toString() {
    return "TOrderDetails{" +
            "orderDetailsId=" + orderDetailsId +
            ", productName='" + productName + '\'' +
            ", productNum=" + productNum +
            ", productMoney=" + productMoney +
            ", orderId=" + orderId +
            '}';
  }
}
